<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cutex: cutex::QxSwipeBar Klassenreferenz</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">cutex
   </div>
   <div id="projectbrief">cute Qt extensions</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Erzeugt von Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Suchen','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Suchen');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classcutex_1_1_qx_swipe_bar.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-slots">Öffentliche Slots</a> &#124;
<a href="#signals">Signale</a> &#124;
<a href="#pub-methods">Öffentliche Methoden</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-attribs">Private Attribute</a> &#124;
<a href="classcutex_1_1_qx_swipe_bar-members.html">Aufstellung aller Elemente</a>  </div>
  <div class="headertitle">
<div class="title">cutex::QxSwipeBar Klassenreferenz</div>  </div>
</div><!--header-->
<div class="contents">

<p>Die Klasse QxSwipeBar stellt eine Navigationsleiste mit Gesten zum "wischen" zur Verfügung.  
 <a href="classcutex_1_1_qx_swipe_bar.html#details">Mehr ...</a></p>

<p><code>#include &lt;<a class="el" href="qxswipebar_8h_source.html">qxswipebar.h</a>&gt;</code></p>
<div class="dynheader">
Klassendiagramm für cutex::QxSwipeBar:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcutex_1_1_qx_swipe_bar.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Öffentliche Slots</h2></td></tr>
<tr class="memitem:a0c913360480df3b3c389ca157318ad1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_swipe_bar.html#a0c913360480df3b3c389ca157318ad1c">setCurrentIndex</a> (int index)</td></tr>
<tr class="separator:a0c913360480df3b3c389ca157318ad1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signale</h2></td></tr>
<tr class="memitem:a36ec95b932bb1041dbcf2dfd8f388019"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_swipe_bar.html#a36ec95b932bb1041dbcf2dfd8f388019">currentChanged</a> (int index)</td></tr>
<tr class="separator:a36ec95b932bb1041dbcf2dfd8f388019"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Öffentliche Methoden</h2></td></tr>
<tr class="memitem:a9453869a499a2f460632ac56c727588d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_swipe_bar.html#a9453869a499a2f460632ac56c727588d">QxSwipeBar</a> (QWidget *parent=nullptr)</td></tr>
<tr class="separator:a9453869a499a2f460632ac56c727588d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a581a14effa8871dbac8a00d01908e109"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_swipe_bar.html#a581a14effa8871dbac8a00d01908e109">count</a> () const</td></tr>
<tr class="separator:a581a14effa8871dbac8a00d01908e109"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8795291758819a9d3ac0f1c2a37269a1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_swipe_bar.html#a8795291758819a9d3ac0f1c2a37269a1">addButton</a> (const QString &amp;text)</td></tr>
<tr class="separator:a8795291758819a9d3ac0f1c2a37269a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a439a8e9fe14127d73f4749efc2a4fd15"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_swipe_bar.html#a439a8e9fe14127d73f4749efc2a4fd15">insertButton</a> (int index, const QString &amp;text)</td></tr>
<tr class="separator:a439a8e9fe14127d73f4749efc2a4fd15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6530706fb11c3cec20d7d7ed3ad85ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_swipe_bar.html#af6530706fb11c3cec20d7d7ed3ad85ea">removeButton</a> (int index)</td></tr>
<tr class="separator:af6530706fb11c3cec20d7d7ed3ad85ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a489f967ec6f1d61a515e982f361a540c"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_swipe_bar.html#a489f967ec6f1d61a515e982f361a540c">buttonText</a> (int index) const</td></tr>
<tr class="separator:a489f967ec6f1d61a515e982f361a540c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62e4efb81b080f01a4e1315507a03fcb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_swipe_bar.html#a62e4efb81b080f01a4e1315507a03fcb">setButtonText</a> (int index, const QString &amp;text)</td></tr>
<tr class="separator:a62e4efb81b080f01a4e1315507a03fcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
Private Slots</h2></td></tr>
<tr class="memitem:a8493b3fd88e1845c04d3a32437579d47"><td class="memItemLeft" align="right" valign="top"><a id="a8493b3fd88e1845c04d3a32437579d47"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>processButton</b> ()</td></tr>
<tr class="separator:a8493b3fd88e1845c04d3a32437579d47"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attribute</h2></td></tr>
<tr class="memitem:a3e927583cedafb10e922a12fa18fb7a3"><td class="memItemLeft" align="right" valign="top"><a id="a3e927583cedafb10e922a12fa18fb7a3"></a>
QHBoxLayout *&#160;</td><td class="memItemRight" valign="bottom"><b>m_layout</b></td></tr>
<tr class="separator:a3e927583cedafb10e922a12fa18fb7a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0822feb0522e928b7cba07e7df68a73f"><td class="memItemLeft" align="right" valign="top"><a id="a0822feb0522e928b7cba07e7df68a73f"></a>
QList&lt; <a class="el" href="classcutex_1_1_qx_swipe_button.html">QxSwipeButton</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_buttons</b></td></tr>
<tr class="separator:a0822feb0522e928b7cba07e7df68a73f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Ausführliche Beschreibung</h2>
<div class="textblock"><p>Die Klasse QxSwipeBar stellt eine Navigationsleiste mit Gesten zum "wischen" zur Verfügung. </p>
<p>QxSwipeBar stellt eine Navigationsleiste mit Schaltflächen und Gesten zum "wischen" zur Verfügung.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_swipe_widget.html" title="Die Klasse QxSwipeWidget erweitert die Qt-Klasse QStackedWidget mit Gesten zum &quot;wischen&quot;.">QxSwipeWidget</a> </dd></dl>
</div><h2 class="groupheader">Beschreibung der Konstruktoren und Destruktoren</h2>
<a id="a9453869a499a2f460632ac56c727588d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9453869a499a2f460632ac56c727588d">&#9670;&nbsp;</a></span>QxSwipeBar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QxSwipeBar::QxSwipeBar </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Erzeugt ein neues Widget mit dem Elternobjekt <em>parent</em>. </p>

</div>
</div>
<h2 class="groupheader">Dokumentation der Elementfunktionen</h2>
<a id="a8795291758819a9d3ac0f1c2a37269a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8795291758819a9d3ac0f1c2a37269a1">&#9670;&nbsp;</a></span>addButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QxSwipeBar::addButton </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Fügt eine neue Schaltfläche mit dem Text <em>text</em> hinzu.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_swipe_bar.html#a439a8e9fe14127d73f4749efc2a4fd15">insertButton(int index, const QString &amp;text)</a> </dd></dl>

</div>
</div>
<a id="a489f967ec6f1d61a515e982f361a540c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a489f967ec6f1d61a515e982f361a540c">&#9670;&nbsp;</a></span>buttonText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString QxSwipeBar::buttonText </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt den Text der Schaltfläche an der Position <em>index</em> zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_swipe_bar.html#a62e4efb81b080f01a4e1315507a03fcb">setButtonText(int index, const QString &amp;text)</a> </dd></dl>

</div>
</div>
<a id="a581a14effa8871dbac8a00d01908e109"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a581a14effa8871dbac8a00d01908e109">&#9670;&nbsp;</a></span>count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QxSwipeBar::count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt die Anzahl der Schaltflächen zurück. </p>

</div>
</div>
<a id="a36ec95b932bb1041dbcf2dfd8f388019"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36ec95b932bb1041dbcf2dfd8f388019">&#9670;&nbsp;</a></span>currentChanged</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QxSwipeBar::currentChanged </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Das Signal wird ausgelöst wenn die Schaltfläche an der Position <em>index</em> aktiviert wurde. </p>

</div>
</div>
<a id="a439a8e9fe14127d73f4749efc2a4fd15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a439a8e9fe14127d73f4749efc2a4fd15">&#9670;&nbsp;</a></span>insertButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QxSwipeBar::insertButton </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Fügt eine neue Schaltfläche mit dem Text <em>text</em> an der Position <em>index</em> ein. </p>

</div>
</div>
<a id="af6530706fb11c3cec20d7d7ed3ad85ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6530706fb11c3cec20d7d7ed3ad85ea">&#9670;&nbsp;</a></span>removeButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSwipeBar::removeButton </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Entfernt die Schaltfläche an der Position <em>index</em>. </p>

</div>
</div>
<a id="a62e4efb81b080f01a4e1315507a03fcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62e4efb81b080f01a4e1315507a03fcb">&#9670;&nbsp;</a></span>setButtonText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSwipeBar::setButtonText </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt den Text der Schaltfläche an der Position <em>index</em> auf den Wert <em>text</em>.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_swipe_bar.html#a62e4efb81b080f01a4e1315507a03fcb">setButtonText(int index, const QString &amp;text)</a> </dd></dl>

</div>
</div>
<a id="a0c913360480df3b3c389ca157318ad1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c913360480df3b3c389ca157318ad1c">&#9670;&nbsp;</a></span>setCurrentIndex</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QxSwipeBar::setCurrentIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Hebt die Schaltfläche an der Position <em>index</em> hervor. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>cutex</b></li><li class="navelem"><a class="el" href="classcutex_1_1_qx_swipe_bar.html">QxSwipeBar</a></li>
    <li class="footer">Erzeugt von <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
